﻿<?xml version="1.0" encoding="utf-8" ?>
<AdoNetDataAccess connection="$CalendarDBConnection$" >
	<Sql>
		INSERT INTO CalendarEvents
		(id,startTime,endTime,extraContentId, eventTypeId, maxCapacity, locationId, calendarId, allDayEvent)
		VALUES
		(@id,@startTime,@endTime,@extraContentId, @eventTypeId, @maxCapacity, @locationId, @calendarId, @allDayEvent)
	</Sql>
	<Param name="id" type="UniqueIdentifier"/>
	<Param name="calendarId" type="UniqueIdentifier"/>
	<Param name="startTime" type="Date"/>
	<Param name="endTime" type="Date"/>
	<Param dbName="extraContentId" name="extraContent.id" type="UniqueIdentifier"/>
	<Param dbName="eventTypeId" name="type.id" type="UniqueIdentifier"/>
	<Param name="maxCapacity" type="Integer"/>
	<Param dbName="locationId" name="location.id" type="UniqueIdentifier"/>
	<Param name="allDayEvent" type="Boolean"/>
</AdoNetDataAccess>
